poly (Function) Class
Item Index
Methods
Methods
(poly)
(
Interface Object
-
funciton
-
poly
-
node
Creates a pool of instances of a sound model so that they can be played polyphonically
Parameters:
-
funciton
Sound Model Factory Functionto be used for creating instances of a sound model
-
poly
NumberHow large the pool (maximum polyphony) should be
-
node
AudioNodethat the polyphonic model(s) should connect to (managed dynamically as nodes are called into and put out of action)
Returns:
Interface Object:
the "soundbank" Interface object that exposes all the other methods in this module.
getSnd
()
gets an available sound from the polyphony pool
setParam
(
-
parameter
-
parameter
Sets a parameter value (on all polyphonic instances in the pool)
Parameters:
-
parameter
Stringname
-
parameter
Numbervalue
setParamNorm
(
-
parameter
-
parameter
Sets a normalized parameter value (in [0,1] (on all polyphonic instances in the pool)
Parameters:
-
parameter
Stringname
-
parameter
Numbervalue